package cn.com.cetccst.appstore.jssdk;

import android.content.Context;

import cn.com.cetccst.sdk.modelbase.BaseResp;


public class ActionDefault extends BaseJSAction<String, BaseResp> {
    public static final String ACTION = "default";


    ActionDefault(Context context, CXApiImplInnerApp icxapi, String parameters) {
        super(context, icxapi, parameters);
    }

    @Override
    public void handleAction(Response response) {
        response.setRespJson(buildSuccessResp(null));
    }

    @Override
    protected String parserParameters(String para) {
        return para;
    }

    @Override
    protected String buildSuccessResp(BaseResp icxResp) {
        return buildFailedResp(BaseResp.ErrCode.ERR_NOT_SUPPORT);
    }

}
